<?php
session_start();
require($_SERVER['DOCUMENT_ROOT'].'/resources/lib/functions.php');
require($_SERVER['DOCUMENT_ROOT'].'/resources/lib/database.php');
require($_SERVER['DOCUMENT_ROOT'].'/resources/lib/class.site.php');
require($_SERVER['DOCUMENT_ROOT'].'/resources/lib/class.modules.php');
require($_SERVER['DOCUMENT_ROOT'].'/resources/lib/class.forms.php');
$module=new module();
//$form=new form();
$token=$_POST['token'];
$i=$_SERVER['DOCUMENT_ROOT'].'/inc/logic_'.$token.'.php';
if(is_file($i)) {
	include($i);	
}
//print_r($_POST);
//print_r($_SESSION);
exit();
//
?>